package com.xcity.tools.http;

import java.lang.reflect.Method;
import java.util.List;
import java.util.Set;

import com.xcity.tools.http.HttpService.SheetField;

import naga.x.game.template.Template;

public interface XLS2JSONFilter<T extends Template> {

	Object doFilter(T template, String field, Method getter) throws Exception;
	
	default Object doFilterAll(List<T> templates, Set<String> fields) throws Exception {
		return null;
	}
	
	default List<SheetField> getFields() {
		return null;
	}
	
}
